<template>
    <van-goods-action-button :type="type" :text="text" :icon="icon" :color="color" :badge="badge"
                             @click="$emit('click')"/>
</template>

<script>
  import { GoodsActionButton } from "vant"

  export default {
    name: "ProductActionButton",
    props: {
      type: String,
      text: String,
      icon: String,
      color: String,
      badge: String,
    },
    components: {
      [GoodsActionButton.name]: GoodsActionButton,
    },
  }
</script>

<style scoped>

</style>
